package com.ccsoft.atools.service;


import com.ccsoft.atools.model.Cash;
import com.ccsoft.atools.model.CashType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CashTypeService {
    int deleteByPrimaryKey(Integer iid);

    CashType insert(CashType record);

    CashType insertSelective(CashType record);

    CashType selectByPrimaryKey(Integer iid);

    CashType updateByPrimaryKeySelective(CashType record);

    CashType updateByPrimaryKey(CashType record);

    List<CashType> selectAll();


    CashType selectBySid(String colpay, String sid);

    boolean isExist(String colpay, String sid);

    List<CashType> selectByType(String type);

    //    检查当前类型下是否存在业务数据
    boolean hasData(String sid);
}